/**
* @file   DsCopyTest.cpp
* @brief  Implementation file for class DsCopyTest
* @date   2011-04-12 20:29:14
* @author Yanze Lian
* @email  <yanzel@gmail.com>
*/

#include "stdafx.h"
#include "DsCopyTest.h"
#include "..\..\VideoEditor\VideoEditor\Classes\DsCopy.h"



CPPUNIT_TEST_SUITE_REGISTRATION(DsCopyTest);

DsCopyTest::DsCopyTest()
{
}

DsCopyTest::~DsCopyTest()
{
}

void DsCopyTest::setUp()
{
	CoInitialize(NULL);
}

void DsCopyTest::tearDown()
{
	CoUninitialize();
}

void DsCopyTest::test()
{
	DsCopy dsCopy;
	bool res = dsCopy.Convert(_T("C:\\Source.wmv"), _T("C:\\Target.wmv"));
	CPPUNIT_ASSERT_EQUAL(true, res);
}

